package com.ruoyi.article.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * asd对象 article
 * 
 * @author ruoyi
 * @date 2025-06-19
 */

@Data
@ApiModel(description = "文章实体")
public class Article
{

    /** $column.columnComment */
    @ApiModelProperty("文章id")
    private String id;

    /** 封面图片 */
    @Excel(name = "封面图片")
    @ApiModelProperty("素材地址")
    private String materialUrl;

    /** 内容 */
    @Excel(name = "内容")
    @ApiModelProperty("文章内容")
    private String content;

    /** 标题 */
    @Excel(name = "标题")
    @ApiModelProperty("文章标题")
    private String title;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("创建时间")
    private Date createTime;

    /** 更新者 */


    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("发布状态")
    private Integer isSublish;
}
